package com.by.mapper;

import com.by.pojo.SUser;
import org.apache.ibatis.annotations.Mapper;

/**
 * <p>Project: erp-cloud-api - UserMapper</p>
 * <p>Powered by yzc On 2024-01-23 11:26:02</p>
 * <p>描述：<p>
 *
 * @author yzc [youzhicheng0415@163.com]
 * @version 1.0
 * @since 17
 */
@Mapper
public interface UserMapper {
    /**
     * 根据用户名查用户信息
     * @param username
     * @return
     */
    SUser queryUser(String username);


    /**
     * 更加角色id查询权限
     * @param id
     * @return
     */
    String queryPermissions(String id);
}
